package com.bootdo.shop.domain.request;

import java.io.Serializable;

public class GoodsCommentQuery  implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Integer orderId;
	
	private Integer goodsId;
	
	private Integer userId;
	
	private String orderNo;
	
	/**
	 * '评论状态 0:未审核 1:审核通过 -1:审核未通过',
	 */
	private Integer status;
	/**
	 * 起始ID，配合limit用，表示从这个ID开始，比它大的最多limit条信息。
	 * id&gt;#{startId} order by id limit #{limit}
	 */
	private Integer startId;
	
	/**
	 * 结束ID，配合limit用，表示从这个ID开始，比他小的最多limit条信息
	 * id&lt;#{endId} order by id desc limit #{limit};
	 */
	private Integer endId;
	
	private Boolean self = false;

	public Integer getStartId() {
		return startId;
	}

	public void setStartId(Integer startId) {
		this.startId = startId;
	}

	public Integer getEndId() {
		return endId;
	}

	public void setEndId(Integer endId) {
		this.endId = endId;
	}

	public Integer getOrderId() {
		return orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public Integer getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	/**
	 * '评论状态 0:未审核 1:审核通过 -1:审核未通过',
	 * @return
	 */
	public Integer getStatus() {
		return status;
	}

	/**
	 * '评论状态 0:未审核 1:审核通过 -1:审核未通过',
	 * @param status
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public boolean isSelf() {
		return self;
	}

	public void setSelf(boolean self) {
		this.self = self;
	}
	
}
